import socketio

sio = socketio.Client()
server = 'http://localhost:12345'

@sio.on('connect')
def on_connect():
    print('[SOCKETIO] connected to server ' + server)

@sio.on('disconnect')
def on_disconnect():
    print('[SOCKETIO] disconnected from server')


if __name__ == '__main__':
    sio.connect("http://127.0.0.1:8080")
    sio.wait()
